var elem = document.getElementById("title");
alert(elem.innerHTML);